package cn.tedu.dubbo.webapi;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan("cn.tedu.dubbo.webapi.mapper")
@EnableDubbo //如果当前项目时Dubbo服务的提供者，需要添加这个注解，否则其他服务无法调用该项目
public class DubboWebapiApplication {

    public static void main(String[] args) {
        SpringApplication.run(DubboWebapiApplication.class, args);
    }

}
